<? echo $html->docType('xhtml-trans'); ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<? echo $html->charset("utf-8"); ?>
<title><? echo $title_for_layout?></title>
<meta name="author" content="<? echo Configure::read('Page.author'); ?>" />
<meta name="geneterator" content="Fantom CMS" />
<? echo $html->meta('rss',$html->url('/articles/rss.xml')); ?>
<? echo $html->meta('rss',$html->url('/comments/rss.xml')); ?>
<? echo $html->meta('rss',$html->url('/news/rss.xml')); ?>
<? echo $html->css("stylesheet"); ?>
<? echo $html->css('print',null,array('media'=>'print')); ?>
<? echo $javascript->link('prototype.js'); ?>
<? echo $javascript->link('scriptaculous.js'); ?>
<? echo $javascript->link('fantom.js'); ?>
<script type="text/javascript" src="http://m.ims.rockretail.com/mobify/redirect.js"></script>
<script type="text/javascript">try{_mobify("http://m.ims.rockretail.com/");} catch(err) {};</script>
<style type="text/css">
@import url(http://www.google.com/cse/api/overlay.css);
</style>
</head>
<body>
<div id="wrapper">
<!-- start header -->
<div id="header">
	<div id="logo">
	</div>
	<!-- start menu -->
	<div id="nav">
		<? //echo $html->link($html->image('banner-fantom.png'),'http://code.google.com/p/fantom/',array('style'=>'border:0;'),null,false); ?>
		<ul>
			<li><? echo $html->link('<span>'.__('MENU_ITEM_HOME',true).'</span>','/',array("class"=>"selected"),false,false); ?></li>
			<li><? echo $html->link('<span>'.__('MENU_ITEM_ABOUT',true).'</span>','/',null,false,false); ?></li>
		        <li><? echo $html->link('<span>'.__('Moja knižnica',true).'</span>','/articles/2008/06/12/moja-kniznica',null,false,false); ?></li>

		</ul>
	</div>
	<!-- end menu -->
</div>
<!-- end header -->

<!-- start page -->
<div id="content">
	<!-- start content -->
	<div id="col1">	
		<?
			if ($session->check('Message.flash')):
					$session->flash();
			endif;
		?>
		<a href="#navigation" class="hidden_navigation"><? __('HIDDEN_NAVIGATION') ?></a>
		<? echo $content_for_layout ?>
		<? echo $this->renderElement('middle_column'); ?>
	</div>
	<!-- end content -->
	<!-- start sidebar -->
	<div id="col2">
		<a name="navigation"></a>
		<ul>
			<? echo $this->renderElement('right_column'); ?>
		</ul>
	</div>
	<!-- end sidebar -->
	<div style="clear: both;">&nbsp;</div>
</div>
<div id="footer">
		<p><? __('FOOTER_TEXT'); ?></p>
</div>
</div>
</body>
</html>